package com.ruoyi.cems.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 备降机场联络信息;对象 bms_evc_alternate_airport
 * 
 * @author ruoyi
 * @date 2024-07-22
 */
@Data
@ApiModel(description = "备降机场联络信息")
public class BmsEvcAlternateAirport extends BmsBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 代码 */
    @Excel(name = "代码")
    @ApiModelProperty("代码")
    private String code;

    /** 机场名称 */
    @Excel(name = "机场名称")
    @ApiModelProperty("机场名称")
    private String name;

    /** 属地 */
    @Excel(name = "属地")
    @ApiModelProperty("属地")
    private String belongArea;

    /** 机场地址 */
    @Excel(name = "机场地址")
    @ApiModelProperty("机场地址")
    private String address;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty("联系电话")
    private String tel;

    /** 传真 */
    @Excel(name = "传真")
    @ApiModelProperty("传真")
    private String fax;

    /** 飞行区等级 */
    @Excel(name = "飞行区等级")
    @ApiModelProperty("飞行区等级")
    private String level;

    /** 运营状态 */
    @Excel(name = "运营状态")
    @ApiModelProperty("运营状态")
    private String status;

    /** 变量控制表ID */
    @Excel(name = "变量控制表ID")
    @ApiModelProperty("变量控制表ID")
    private String vcId;

    @ApiModelProperty("备降机场ID")
    private String airportId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("name", getName())
            .append("belongArea", getBelongArea())
            .append("address", getAddress())
            .append("tel", getTel())
            .append("fax", getFax())
            .append("level", getLevel())
            .append("status", getStatus())
            .append("vcId", getVcId())
                .append("airportId", getAirportId())
            .toString();
    }
}
